package com.mingdong.first.celue.duck;

import com.mingdong.first.celue.flyBehavior.FastFlyBehavior;
import com.mingdong.first.celue.flyBehavior.NoFlyBehavior;
import com.mingdong.first.celue.flyBehavior.SlowFlyBehavior;
import com.mingdong.first.celue.quackBehavior.GeGeBehavior;

public class RedHeadDuck extends Duck {

	public RedHeadDuck(){
		flyBehavior = new FastFlyBehavior();
		quackBehavior = new GeGeBehavior();
		
	}
	
	@Override
	public void display() {
		System.out.println("red Duck");
	}

}
